package comu.hnevc.zh.testdemo.dao;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "recharge")
public class RechargeBean {
    @DatabaseField(generatedId = true,columnName = "id",useGetSet = true)
    private int id;
    //充值人
    @DatabaseField(columnName = "user_name",useGetSet = true,canBeNull = false)
    private String user_name;
    //车牌号
    @DatabaseField(columnName = "car_number",useGetSet = true)
    private String car_number;
    //充值金额
    @DatabaseField(columnName = "re_money",useGetSet = true)
    private String re_money;
    //余额
    @DatabaseField(columnName = "balance",useGetSet = true)
    private String balance;
    //星期
    @DatabaseField(columnName = "week",useGetSet = true)
    private String week;
    //充值时间
    @DatabaseField(columnName = "re_time",useGetSet = true)
    private String re_time;
    //列表充值时间
    @DatabaseField(columnName = "list_time",useGetSet = true)
    private String list_time;

    public RechargeBean() {

    }

    public RechargeBean(int id, String user_name, String car_number, String re_money, String balance, String week, String re_time, String list_time) {
        this.id = id;
        this.user_name = user_name;
        this.car_number = car_number;
        this.re_money = re_money;
        this.balance = balance;
        this.week = week;
        this.re_time = re_time;
        this.list_time = list_time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getCar_number() {
        return car_number;
    }

    public void setCar_number(String car_number) {
        this.car_number = car_number;
    }

    public String getRe_money() {
        return re_money;
    }

    public void setRe_money(String re_money) {
        this.re_money = re_money;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getRe_time() {
        return re_time;
    }

    public void setRe_time(String re_time) {
        this.re_time = re_time;
    }

    public String getList_time() {
        return list_time;
    }

    public void setList_time(String list_time) {
        this.list_time = list_time;
    }
}
